package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class SquareComment {

    @JSONField(name = "total")
    private int total;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<RecordsDTO> records;

    @NoArgsConstructor
    @Data
    public static class RecordsDTO {
        @JSONField(name = "id")
        private int id;
        @JSONField(name = "circleId")
        private int circleId;
        @JSONField(name = "content")
        private String content;
        @JSONField(name = "createTime")
        private String createTime;
        @JSONField(name = "comUserName")
        private String comUserName;
        @JSONField(name = "image")
        private String image;
        @JSONField(name = "createUserName")
        private Object createUserName;
        @JSONField(name = "mid")
        private long mid;
    }
}
